home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 49 / Amiga Format CD49 (2000-01-17)(Future Publishing)(GB)(Track 1 of 3)[!][issue 2000-02].iso / -serious- / comms / other / novia / src / include / novia_convert_cnet_udata.h < prev    next >
C/C++ Source or Header  |  1999-12-06  |  4KB  |  173 lines

  1. #ifndef NOVIA_CONVERT_CNET_UDATA_H
  2. #define NOVIA_CONVERT_CNET_UDATA_H
  3.  
  4. struct IsDate {        /* must LEAVE as BYTE */
  5.     BYTE Year;
  6.     BYTE Month;
  7.     BYTE Date;
  8.     BYTE Hour;
  9.     BYTE Minute;
  10.     BYTE Second;
  11. };
  12.  
  13. struct cnetuser {            /* each user account */
  14.     long    IDNumber;        /* 0 unique (serial) ID # */
  15.     char    Handle[21];        /* 4 */
  16.     char    RealName[26];    /* 25 */
  17.     char    Address[31];    /* 51 */
  18.     char    CityState[31];    /* 82 */
  19.     char    ZipCode[11];    /* 113 */
  20.     char    Country[8];        /* 124 */
  21.     char    PhoneNo[17];    /* 132 Euro 8-7 format POSSIBLE!! */
  22.     char    PassWord[15];    /* 149 */
  23.     char    Comments[34];    /* 164 */
  24.     char    Macro[3][36];    /* 198 user's defined macro keys */
  25.     char    Organ[31];        /* 306 */
  26.     UBYTE    PhoneVerified;    /* 337 */
  27.  
  28.     char    not_used[4];        /* 338 */
  29.  
  30.     struct    IsDate Birthdate;    /* 342 */
  31.     struct    IsDate FirstCall;    /* 348 */
  32.     struct    IsDate LastCall;    /* 354 */
  33.  
  34.     struct    IsDate NO_LONGER_USED;    /* 360 */
  35.  
  36.     struct    IsDate ConnectDate;    /* 366 */
  37.     struct    IsDate YankDate;    /* 372 */
  38.  
  39.     BYTE    Access;            /* 378 */
  40.     BYTE    ExpireAccess;        /* 379 */
  41.  
  42.     short    PfileTimeToday;
  43.  
  44.     short    not_used2;
  45.  
  46.     BYTE    TextSet;        /* 384 which BBSTEXT/MENU translation */
  47.     BYTE    TimeForm;
  48.     BYTE    MoreMode;
  49.     BYTE    LineFeeds;
  50.     BYTE    ObsParanoia;
  51.     BYTE    TimeZone;
  52.     BYTE    Colors;            /* can user display ANSI colors? */
  53.     BYTE    Tabs;            /* can user do ANSI tabs? */
  54.     BYTE    ANSI;            /* 392 */
  55.     BYTE    Sex;
  56.     BYTE    AutoMore;        /* More? and CLS between messages? */
  57.     BYTE    TermType;
  58.     BYTE    HelpLevel;        /* 396 */
  59.     BYTE    CompType;
  60.     BYTE    DefProtocol;        /* 398 */
  61.     BYTE    TermWidth;
  62.     BYTE    TermLength;        /* 400 */
  63.     BYTE    MailBoxOpen;        /* 401 */
  64.     short    MailForward;        /* 402 */
  65.  
  66.     long     TotalCalls;        /* 404 */
  67.     long    PubMessages;        /* 408 */
  68.     long    PriMessages;        /* 412 */
  69.     long    UpBytes;        /* 416 KILO bytes */
  70.     long    UpFiles;        /* 420 */
  71.     long    DownBytes;        /* 424 KILO bytes */
  72.     long    DownFiles;        /* 428 */
  73.  
  74.     long    FileCredits;        /* 432 CREDITS used now! */
  75.     long    ByteCredits;        /* 436 */
  76.     long    TimeCredits;        /* 440 */
  77.  
  78.     long    Balance;        /* 444 */
  79.     long    NetCredits;        /* 448 */
  80.     long    DoorPoints;        /* 452 */
  81.  
  82.     long    DayUpBytes;        /* 456 */
  83.     long    DayDownBytes;        /* 460 */
  84.     short    DayUpFiles;        /* 464 */
  85.     short    DayDownFiles;        /* 466 */
  86.  
  87.     short    CallsToday;        /* 468 */
  88.     short     TimeToday;        /* 470 */
  89.     short    LogonAttempts;        /* 472 */
  90.  
  91.     USHORT    BaudRate;        /* 474 */
  92.     USHORT    HighBaud;        /* 476 */
  93.  
  94.     char    UUCP[11];        /* 478 */
  95.  
  96.     UBYTE    PName;            /* 489 flags, are these data     */
  97.     UBYTE    PAge;            /* items to be kept private? */
  98.     UBYTE    PAddress;        /* street address only */
  99.     UBYTE    PVoice;            /* phone numbers */
  100.     UBYTE    PData;
  101.  
  102.     char    Banner[43];        /* 494 */
  103.  
  104.     char    VoiceNo[17];        /* 537 Euro 8-7 format POSSIBLE!! */
  105.  
  106.     short    YankCount;        /* 554 */
  107.  
  108.     struct    IsDate ExpireDate;    /* 556 */
  109.     struct    IsDate FNewDate;    /* 562 */
  110.  
  111.     char    more[7];        /* 568 reserved */
  112.  
  113.     UBYTE    YankCR;            /* 575 add CR's to yank text? */
  114.     UBYTE    YankArc;        /* which archiver to use? */
  115.     BYTE    DefEditor;        /* 577 */
  116.     BYTE    AutoHide;
  117.     BYTE    PrivsSet_NOT;        /* 579 */
  118.     long    MBaseFlags;        /* 580 */
  119.     long    FBaseFlags;        /* 584 Can user reach which subs ? */
  120.     long    LBaseFlags;        /* 588 Gfiles/Pfiles flags */
  121.  
  122.     ULONG    ABits;            /* 592 see bitdefs above */
  123.  
  124.     long    DailyDownBytes;        /* 596 */
  125.     long    DailyUpBytes;        /* 600 */
  126.     long    XFreeBytes;        /* 604 !!! NOT USED ANYMORE !!! */
  127.     long    XFreeFiles;        /* 608 SEE GLOBAL DEFAULT IN CONFIG1 */
  128.  
  129.     short    Calls;            /* 612 */
  130.     short    CallMinutes;        /* 614 */
  131.     short    DailyMinutes;        /* 616 */
  132.     short    DailyDownloads;        /* 618 per 24 hr DAY */
  133.     short    DailyUploads;        /* 620 same */
  134.     short    Messages;        /* 622 */
  135.     short    Feedbacks;        /* 624 */
  136.     short    EditorLines;        /* 626 */
  137.     short    Idle;            /* 628 */
  138.     short    MaxMailKBytes;        /* 630 before mail-receive is limited */
  139.     short    PurgeDays;        /* 632 */
  140.  
  141.     UBYTE    FileRatio;        /* 634 */
  142.     UBYTE    ByteRatio;
  143.     UBYTE    FileRatio2;
  144.     UBYTE    ByteRatio2;
  145.     UBYTE    FileRatio3;
  146.     UBYTE    ByteRatio3;
  147.  
  148.     ULONG    ABits2;            /* 640 now gives 64 flags! */
  149.  
  150.     short    SigLines;        /* 644 how many lines per signature */
  151.  
  152.     UBYTE    AllowAliases;        /* 646 new tri-state variables */
  153.     UBYTE    DeleteOwn;
  154.     UBYTE    Anonymous;
  155.     UBYTE    PrivateArea;
  156.  
  157.     short    DailyPfileMinutes;    /* 650 */
  158.     short    LogToMail;        /* account # to send log */
  159.  
  160.     long    LogFlags;        /* 654 */
  161.  
  162.     UBYTE    CallBack;        /* 658 Tri-state */
  163.     UBYTE    TermLink;        /* 659 */
  164.     UBYTE    CallerID;        /* 660 */
  165.     UBYTE    PageSysop;        /* 661 */
  166.  
  167.     char    exp[ 6 ];        /* 662 */
  168.  
  169.     short    Alias;            /* 668 */
  170.     short    Dictionary;        /* 670 */
  171. };
  172.  
  173. #endif